package DBLayer;

import java.util.ArrayList;
import ModelLayer.*;

public interface IFDBPartOrder {
	
	 // get all products
    public ArrayList<PartOrder> getAllPartOrders(boolean retrieveAssociation);
    //get one Product having the ProductID
    public PartOrder findPartOrder(int partOrderID, boolean retrieveAssociation);
    //find one Product having the name
    public int insertPartOrder(PartOrder pOrd, Order order) throws Exception;
    //update information about a clothing  
    public int updatePartOrder(PartOrder pOrd);
    //delete a product
    public int deletePartOrder(int pOrderID);

}
